﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ihongma.Common;

namespace ihongma.Web.admin.order
{
    public partial class order_sqlcount :  Web.UI.ManagePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                ChkAdminLevel("order_sqlcount", DTEnums.ActionEnum.View.ToString()); //检查权限
               //RptBind("id>0" + CombSqlTxt(this.status, this.payment_status, this.express_status, this.keywords, this.payment, this.DateS, this.xdDate), "status asc,add_time desc,id desc");
            }
        }

        protected void btnSearch_Click(object sender, EventArgs e)
        {
            try
            {
                ihongma.BLL.liaocheng bll = new BLL.liaocheng();

                this.GridView1.DataSource = bll.getSql(txtKeywords.Text);
                this.GridView1.DataBind();
            }
            catch (Exception ex)
            {
                
                  JscriptMsg("sql查询错误"+ex.Message, "back", "Error");
                return;
            }
           
        }
    }
}